<?php if ($error != ''): ?>
    <ul class="message error">
        <?php if ($error != ''): ?>
            <li><?php echo $error ?></li>
        <?php endif; ?>
        <?php echo form_error('user') ?>
        <?php echo form_error('pass') ?>
        <?php echo form_error('email') ?>
    </ul>
<?php endif; ?>
<form class="form has-validation" method="POST" action="">
    <input type="hidden" name="frmToken" id="frmToken" value="<?php echo $frmToken ?>"/>
    <div class="clearfix">
        <label for="form-user" class="form-label">Tên đăng nhập<em>*</em><small>Nhập tên đăng nhập</small></label>
        <div class="form-input"><input type="text" id="form-user" name="user" required="required" readonly="readonly" value="<?php echo $all[0]['acc'];?>"/></div>
    </div>

    <div class="clearfix">
        <label for="form-pass" class="form-label">Mật khẩu<em>*</em><small>Nhập mật khẩu</small></label>
        <div class="form-input"><input type="password" id="form-pass" name="pass" required="required"/></div>
    </div>

    <div class="clearfix">
        <label for="form-email" class="form-label">Email<em>*</em><small>Nhập email</small></label>
        <div class="form-input"><input type="email" id="form-email" name="email" required="required" value="<?php echo $all[0]['email'];?>" /></div>
    </div>
    <div class="clearfix">
        <label for="form-name" class="form-label">Tên người dùng<em></em><small>Nhập tên người dùng</small></label>
        <div class="form-input"><input type="text" id="form-name" name="name" required="required" value="<?php echo $all[0]['name'];?>" /></div>
    </div>

    <div class="form-action clearfix">
        <input class="button" type="submit" name="submit" data-icon-primary="ui-icon-circle-check" value="OK"/>
        <input class="button" type="reset" value="Nhập lại"/>
    </div>
</form>
